package com.sxpcwlkj.sxpcwlkj.entity.bo;

import com.sxpcwlkj.common.utils.DateUtil;
import com.sxpcwlkj.framework.config.ValidatedGroupConfig;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import io.github.linpeilie.annotations.AutoMapper;
import org.springframework.format.annotation.DateTimeFormat;
import com.sxpcwlkj.sxpcwlkj.entity.StoreAdvertisingLocation;
import com.sxpcwlkj.datasource.entity.BaseEntity;

/**
* 广告位Bo
*
* @author 西决
* @Doc <a href='https://www.mmsadmin.com'>MMS文档</a>
*/
@Data
@AutoMapper(target = StoreAdvertisingLocation.class, reverseConvertGenerate = false)
@EqualsAndHashCode(callSuper=false)
public class StoreAdvertisingLocationBo  extends BaseEntity {
	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@NotBlank(message = "ID不能为空" ,groups = {ValidatedGroupConfig.update.class})
	private String id;
	/**
	 * 广告位名称
	 */
	@NotBlank(message = "广告位名称不能为空" ,groups = {ValidatedGroupConfig.insert.class,ValidatedGroupConfig.update.class})
	private String name;
	/**
	 * 广告位高度
	 */
	@NotBlank(message = "广告位高度不能为空" ,groups = {ValidatedGroupConfig.insert.class,ValidatedGroupConfig.update.class})
	private String height;
	/**
	 * 广告位宽度
	 */
	@NotBlank(message = "广告位宽度不能为空" ,groups = {ValidatedGroupConfig.insert.class,ValidatedGroupConfig.update.class})
	private String width;
	/**
	 * 广告位编码
	 */
	@NotBlank(message = "广告位编码不能为空" ,groups = {ValidatedGroupConfig.insert.class,ValidatedGroupConfig.update.class})
	private String code;
	/**
	 * 最大显示数量
	 */
	@NotBlank(message = "最大显示数量不能为空" ,groups = {ValidatedGroupConfig.insert.class,ValidatedGroupConfig.update.class})
	private String maxNum;
}
